<script setup>
import {reactive} from 'vue'

const objectOfAttrs = reactive ({
    id: 'container',
    class: 'wrapper'
})

</script>

<template>
    <div v-bind="objectOfAttrs">1234</div>
    <div :="objectOfAttrs">1234</div>
</template>
